using SumerCoreDevOps.Shared.Enums;

namespace SumerCoreDevOps.Shared.Models.Messages;

/// <summary>
/// 凭证请求消息
/// </summary>
public class CredentialRequestMessage
{
    /// <summary>
    /// 任务ID
    /// </summary>
    public long TaskId { get; set; }

    /// <summary>
    /// 凭证类型
    /// </summary>
    public CredentialType CredentialType { get; set; }

    /// <summary>
    /// 资源标识（如Git仓库URL、Docker Registry地址等）
    /// </summary>
    public string ResourceIdentifier { get; set; } = null!;
}
